package com.jsmile.cloud.promotioncenter.api.constants;

/**
 * 权限常量
 *
 * @author 龚亮
 */
public interface PromotionConstants extends java.io.Serializable {

    /**
     * 服务名
     */
    String APPLICATION_NAME = "promotioncenter";

    public static class SNOWFLAKE {
        public static final long workerId = 1L;
        public static final long datacenterId = 6L;
    }

    public static class PromotionMq implements PromotionConstants {
        /**
         * 拼团状态变化交换机
         */
        public static final String TRADE_GROUP_STATUS_SYNC_EXCHANGE = "trade_group_status_sync_exchange";
        public static final String TRADE_GROUP_STATUS_SYNC_QUEUE = "trade_group_status_sync_queue";
        public static final String TRADE_GROUP_STATUS_SYNC_ROUTE = "trade_group_status_sync_route";

        public static final String MSG_GROUP_STATUS_SYNC_EXCHANGE = "msg_group_status_sync_exchange";
        public static final String MSG_GROUP_STATUS_SYNC_QUEUE = "msg_group_status_sync_queue";
        public static final String MSG_GROUP_STATUS_SYNC_ROUTE = "msg_group_status_sync_route";
    }
}
